CREATE UNIQUE INDEX NOME_INDEX 
       ON TABELA (CAMPO) WHERE CAMPO IS NOT NULL
GO